Entity framework attach

60

Entity framework attach -

using (var context = new MyEntities())
{
    context.Attach(client);
    client.Name = "Bob";
    context.SaveChanges();
}

Comments

Submit
0 Comments